import time
from . import tables

class Compare(object):
    '''
    '''

    def __init__(self):
        pass

    def compare_trips(self, atrip, btrip, name=None):
        if name is None:
            name = atrip.trip_planner + " vs. " + btrip.trip_planner + " on " + time.strftime("%m.%d.%Y")
        ct = tables.CompareTrip(atrip, btrip, name)
        return ct
